//package com.ttg.web.task.vipJob;
//
//import com.ttg.common.exception.BaseException;
//import com.ttg.web.service.VipBankInfoService;
//import com.xxl.job.core.biz.model.ReturnT;
//import com.xxl.job.core.context.XxlJobContext;
//import com.xxl.job.core.handler.annotation.XxlJob;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
///**
// * 通过excel获取银行个人信息数据
// */
//@Slf4j
//@Component
//public class GetPrivateBankInfoByExcelHandler {
//
//    @Autowired
//    private VipBankInfoService vipBankInfoService;
//
//    @XxlJob("GetPrivateBankInfoByExcelHandler")
//    public ReturnT<String> execute() {
//        log.info("【JobTask getBankInfoByExcelByPrivate 】获取银行个人信息数据 start");
//        try {
//            vipBankInfoService.getBankInfoByExcelByPrivate();
//        } catch (Exception e) {
//            log.error("异常调度异常：{}",e.getMessage());
//            XxlJobContext.getXxlJobContext().setHandleCode(ReturnT.FAIL_CODE);
//            XxlJobContext.getXxlJobContext().setHandleMsg("执行异常，请联系管理员查询相关日志" + e.getMessage());
//            throw new BaseException("异常调度异常",e.getLocalizedMessage());
//        }
//        log.info("【JobTask getBankInfoByExcelByPrivate 】获取银行个人信息数据 end");
//        return ReturnT.SUCCESS;
//    }
//}
